/**
 * 
 */
package com.monte.export;

import java.util.List;

/**
 * 数据导出配置
 * @author fengmengyue
 *
 */
public class Configure {
	public static final Integer DEFAULT_PAGE_SIZE = 2000;
	/**
	 * 列配置
	 */
	private List<Column> columns;
	
	/**
	 * 分页取数时，每次取数时条数
	 */
	private Integer pageSize = DEFAULT_PAGE_SIZE;
	
	/**
	 * 是否渲染行号
	 */
	private boolean index = false;
	
	/**
	 * excel时sheet的名称
	 */
	private String sheetName;
	
	
	/**
	 * excel时，每个工作簿导出行数
	 */
	private Integer rowsOfSheet;
	
	public List<Column> getColumns() {
		return columns;
	}
	public void setColumns(List<Column> columns) {
		this.columns = columns;
	}
	public String getSheetName() {
		return sheetName;
	}
	public void setSheetName(String sheetName) {
		this.sheetName = sheetName;
	}
	public Integer getRowsOfSheet() {
		return rowsOfSheet;
	}
	public void setRowsOfSheet(Integer rowsOfSheet) {
		this.rowsOfSheet = rowsOfSheet;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setIndex(boolean index) {
		this.index = index;
	}
	public boolean isIndex() {
		return index;
	}
}
